type github.com/gotd/td/telegram/downloader.block

16 uses

	github.com/gotd/td/telegram/downloader (current package)
		parallel.go#L25: 	toWrite := make(chan block, threads)
		reader.go#L12: type block struct {
		reader.go#L19: func (b block) last() bool {
		reader.go#L48: func (r *reader) Next(ctx context.Context) (block, error) {
		reader.go#L56: func (r *reader) nextHashed(ctx context.Context) (block, error) {
		reader.go#L60: 		return block{}, err
		reader.go#L63: 		return block{}, nil
		reader.go#L69: 		return block{}, err
		reader.go#L74: 		return block{}, ErrHashMismatch
		reader.go#L80: func (r *reader) nextPlain(ctx context.Context) (block, error) {
		reader.go#L89: func (r *reader) next(ctx context.Context, offset int64, limit int) (block, error) {
		reader.go#L100: 			return block{}, errors.Wrap(err, "get next chunk")
		reader.go#L103: 		return block{
		sink.go#L10: func writeAtLoop(w io.WriterAt, toWrite <-chan block) func(context.Context) error {
		sink.go#L30: func writeLoop(w io.Writer, toWrite <-chan block) func(context.Context) error {
		stream.go#L17: 	toWrite := make(chan block, 1)